﻿@model RndMaterialDisposalService.Models.RequestModel.ValidationProblemFlowReq

@{
    Layout = "~/Pages/Shared/_EmailLayout.cshtml";
}


<div style="background-color: #B8B8B8; color: black; font-size: 11pt; font-weight: bold;">
    <div style="height: 3px; font-size: 3px; line-height: 1">&nbsp;</div>
    <p class="pfs-11">申请信息</p>
    <div style="height: 3px; font-size: 3px; line-height: 1">&nbsp;</div>
</div>
<table style="width: 100%; border-spacing: 0; border-collapse: collapse; font-family: 宋体; font-size: 10pt;">
    <tr>
        <td style="font-weight: Bold;width: 20%;">中试启动单:</td>
        <td colspan="3"><p><a href="[VerifyStartFolioUrl]" title="中试启动单。">@Model.problemHandling.LaunchOrderInfo.subject</a></p></td>
    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">产品线:</td>
        <td style="width: 30%;">@Model.problemHandling.ProductLine</td>
        @*<td colspan="3"><p><a href="@Model.trialApplication.ElectronicFlowLink" title="点击跳转到电子流进行查看。">物料替代电子流链接</a></p></td>*@
        <td style="font-weight: Bold;width: 20%;">项目名称:</td>
        <td style="width: 30%;">@Model.problemHandling.ProjectName</td>
    </tr>
    @*    <tr>
    <td style="font-weight: Bold;width: 20%;">有效性:</td>
    @if (Model.technology.Effectiveness == true)
    {
    <td style="width: 30%;">有效</td>
    }
    else
    {
    <td style="width: 30%;">无效</td>
    }

    <td style="font-weight: Bold;width: 20%;">中文姓名:</td>
    <td style="width: 30%;">@Model.technology.CreateName</td>
    </tr>*@
    <tr>
        <td style="font-weight: Bold;width: 20%;">问题点数:</td>
        <td style="width: 30%;">@Model.problemHandling.ProblemNumber</td>
        <td style="font-weight: Bold;width: 20%;">问题主题:</td>
        <td style="width: 30%;">@Model.problemHandling.ProblemSubject</td>
    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">问题来源:</td>
        <td style="width: 30%;">@Model.problemHandling.ProblemSources</td>
        <td style="font-weight: Bold;width: 20%;">产品型号:</td>
        @if (Model.problemHandling.ProductModel != null) 
        {
            <td style="width: 30%;">@string.Join(",",Model.problemHandling.ProductModel)</td>
        }
        else
        {
            <td style="width: 30%;"></td>
        }
    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">试制批次:</td>
        <td style="width: 30%;">@Model.problemHandling.TrialManufactureBatch</td>
        <td style="font-weight: Bold;width: 20%;">是否非标:</td>
        @if (Model.problemHandling.Nonstandard == true)
        {
            <td style="width: 30%;">是</td>
        }
        else
        {
            <td style="width: 30%;">否</td>
        }
    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">产品编码:</td>
        <td style="width: 30%;">@Model.problemHandling.ProductCode</td>
        <td style="font-weight: Bold;width: 20%;">产品对内型号:</td>
        <td style="width: 30%;">@Model.problemHandling.ProductInternalModel</td>
    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">本批产品总数:</td>
        <td style="width: 30%;">@Model.problemHandling.ProductBatchSum</td>
        <td style="font-weight: Bold;width: 20%;">本批产品已生产数:</td>
        <td style="width: 30%;">@Model.problemHandling.ProductBatchNumber</td>
    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">不良品数:</td>
        <td style="width: 30%;">@Model.problemHandling.ProductBadQuantity</td>
        <td style="font-weight: Bold;width: 20%;">产品不良比例:</td>
        <td style="width: 30%;">@Model.problemHandling.ProductBadRatio</td>
    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">不良现象(问题)描述:</td>
        <td colspan="3">@Model.problemHandling.Description</td>
    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">是否涉及物料问题:</td>
        @if (Model.problemHandling.MaterialProblem == true)
        {
            <td style="width: 30%;">是</td>
        }
        else
        {
            <td style="width: 30%;">否</td>
        }
    </tr>

    @if (Model.problemHandling.MaterialProblem == true) 
    {
        <tr>
            <td style="font-weight: Bold;width: 20%;">本批物料已使用数:</td>
            <td style="width: 30%;">@Model.problemHandling.MaterialUsedQuantity</td>
            <td style="font-weight: Bold;width: 20%;">不良物料数:</td>
            <td style="width: 30%;">@Model.problemHandling.MaterialBadQuantity</td>
        </tr>
        <tr>
            <td style="font-weight: Bold;width: 20%;">物料不良比例:</td>
            <td style="width: 30%;">@Model.problemHandling.MaterialBadRatio</td>
            <td style="font-weight: Bold;width: 20%;">不良物料编码:</td>
            <td style="width: 30%;">@Model.problemHandling.MaterialBadCode</td>
        </tr>
        <tr>
            <td style="font-weight: Bold;width: 20%;">不良物料型号/名称:</td>
            <td style="width: 30%;">@Model.problemHandling.MaterialBadName</td>
            <td style="font-weight: Bold;width: 20%;">不良物料供应商:</td>
            <td style="width: 30%;">@Model.problemHandling.MaterialBadProvider</td>
        </tr>
        <tr>
            <td style="font-weight: Bold;width: 20%;">不良物料批次号:</td>
            <td style="width: 30%;">@Model.problemHandling.MaterialBadBatchNum</td>
        </tr>
    }
    <tr>
        <td style="font-weight: Bold;width: 20%;">责任部门初步定位:</td>
        <td style="width: 30%;">@Model.problemHandling.ResponsibleDepartment</td>
        <td style="font-weight: Bold;width: 20%;">问题初步判定:</td>
        <td style="width: 30%;">@Model.problemHandling.ProblemDecide</td>
    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">问题严重性定位:</td>
        <td style="width: 30%;">@Model.problemHandling.SeverityDecide</td>
        <td style="font-weight: Bold;width: 20%;">停线判定:</td>
        <td style="width: 30%;">@Model.problemHandling.LineStopDecide</td>
    </tr>
    @if (Model.problemHandling.LineStopDecide == "一般停线" || Model.problemHandling.LineStopDecide == "重大停线") 
    {
        <tr>
            <td style="font-weight: Bold;width: 20%;">是否停止验证:</td>
            @if (Model.problemHandling.StopValidation == true)
            {
                <td style="width: 30%;">是</td>
            }
            else
            {
                <td style="width: 30%;">否</td>
            }
            <td style="font-weight: Bold;width: 20%;">停线涉及范围:</td>
            <td style="width: 30%;">@Model.problemHandling.LineStopRange</td>
        </tr>
        <tr>
            <td style="font-weight: Bold;width: 20%;">是否影响发货:</td>
            @if (Model.problemHandling.EffectShipments == true)
            {
                <td style="width: 30%;">是</td>
            }
            else
            {
                <td style="width: 30%;">否</td>
            }
        </tr>
    }
    <tr>
        <td style="font-weight: Bold;width: 20%;">QE/试制处理意见:</td>
        <td colspan="3">@Model.problemHandling.QeRemark</td>
    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">问题处理责任人:</td>
        <td style="width: 30%;">@Model.problemHandling.PersonInCharge</td>
    </tr>

</table>
